package com.sky.service;

import com.sky.dto.EmployeeDto;
import com.sky.dto.EmployeeLoginDto;
import com.sky.dto.EmployeeModifyPasswordDto;
import com.sky.dto.EmployeePageQueryDto;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import com.sky.vo.EmployeeLoginVo;

/**
 * 员工业务层接口
 */
public interface IEmployeeService {
    EmployeeLoginVo findByUserName(EmployeeLoginDto employeeLoginDto);

    void insert(EmployeeDto employeeDto);

    PageResult<Employee> findByPage(EmployeePageQueryDto employeePageQueryDto);

    void modifyStatus(Integer status, Long id);

    void modifyPassword(EmployeeModifyPasswordDto employeeModifyPasswordDto);

    Employee getById(Long id);

    void modifyEmployee(Employee employee);
}
